﻿<%@ Page Language="C#" MasterPageFile="~/employer/MasterPage.master" AutoEventWireup="true" CodeFile="ThongTinChiTietDonHang.aspx.cs" Inherits="employer_ThongTinChiTietDonHang" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="phContent" Runat="Server">
<fieldset class="FieldsetTitle">
        <legend class="LegendTitle">Thông Tin Chi Tiết </legend>
        <div class="std">
            <asp:DataList ID="dataListSP" runat="server" CellPadding="3" BackColor="#cccccc"
                BorderWidth="1px" CellSpacing="2" BorderStyle="None" BorderColor="#cccccc" GridLines="Both"
                DataKeyField="OrderId" RepeatDirection="Horizontal" RepeatColumns="1">
                <SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#efefef"></SelectedItemStyle>
                <ItemStyle ForeColor="#8C4510" BackColor="#efefef"></ItemStyle>
                <FooterStyle ForeColor="#8C4510" BackColor="#003772"></FooterStyle>
                <HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#003772"></HeaderStyle>
                <HeaderTemplate>
                    Thông Tin Chi Tiết
                </HeaderTemplate>
                <ItemTemplate>
                    <div class="product">
                        <div>
                            <table width="100%">
                                <tr>
                                    <td>                                        
                                        <div id="Div1" class="productimage" runat="server">
                                            <a href='ShoppingCart.aspx?maSanPham=<%# Eval("OrderId") %>'>
                                                <img id="Img1" src='<%# Eval("Image") %>' alt="click vào đây để add vào giỏ hàng" height="75"
                                                    runat="server" />
                                            </a>
                                        </div>
                                    </td>
                                    <td style="color:Blue;border:1;">
                                        <a href='ShoppingCart.aspx?maSanPham=<%# Eval("OrderId") %>'> Add To Cart                                                
                                            </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <b>Mã Hóa Đơn : </b>
                                    </td>
                                    <td>
                                        '<%# DataBinder.Eval(Container.DataItem, "OrderId")%>'
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <b>Tên : </b>
                                    </td>
                                    <td>
                                        '<%# DataBinder.Eval(Container.DataItem, "Name")%>'
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <b>Khách Hàng : </b>
                                    </td>
                                    <td>
                                        '<%# DataBinder.Eval(Container.DataItem, "CustomerId")%>'
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <b>Ngày Đặt Hàng : </b>
                                    </td>
                                    <td>
                                        '<%# DataBinder.Eval(Container.DataItem, "OrderDate")%>'
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <b>Ngày Gửi : </b>
                                    </td>
                                    <td>
                                        '<%# DataBinder.Eval(Container.DataItem, "DateSend")%>'
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <b>Địa Chỉ : </b>
                                    </td>
                                    <td>
                                        '<%# DataBinder.Eval(Container.DataItem, "Address")%>'
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </ItemTemplate>
                <AlternatingItemStyle HorizontalAlign="Left" />
            </asp:DataList>
            <table border="0" width="100%">
                <tr>
                    <td>
                    </td>
                    <td align="left">
                        <asp:LinkButton ID="lbtnPrev" runat="server">Prev</asp:LinkButton></td>
                    <td align="left">
                        <asp:LinkButton ID="lbtnNext" runat="server">Next</asp:LinkButton></td>
                    <td>
                    </td>
                </tr>
            </table>
        </div>
    </fieldset>
</asp:Content>

